package com.ruoyi.finance.service.impl;

import com.ruoyi.finance.domain.TJrProduct;
import com.ruoyi.finance.mapper.financeMapper;
import com.ruoyi.finance.service.financeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @return name
 */
@Service
public class financeServiceImpl implements financeService {
    @Autowired
    private financeMapper dao;

    @Override
    public List<TJrProduct> listAll() {
        return dao.listAll();
    }

    @Override
    public List<TJrProduct> listAll2() {
        return dao.listAll2();
    }

    @Override
    public List<TJrProduct> listAll3() {
        return dao.listAll3();
    }

    @Override
    public boolean addinstall(TJrProduct tJrProduct) {
        return dao.addinstall(tJrProduct);
    }

    @Override
    public boolean updatedeflg(String id) {
        return dao.updatedeflg(id);
    }

    @Override
    public List<TJrProduct> FactoringProduct(String id) {
        return dao.FactoringProduct(id);
    }
}
